<nz-breadcrumb *ngIf="paths && paths.length > 0" [nzSeparator]="breadcrumbIconTemplate">
  <nz-breadcrumb-item *ngFor="let item of paths; let i = index">
    <ng-container *ngIf="item.link">
        <a [routerLink]="(item.link[0] === '/') ? '/dashboard':item.link">{{item.title}}</a>
      </ng-container>
    <ng-container *ngIf="!item.link">{{item.title}}</ng-container>
  </nz-breadcrumb-item>
  <nz-breadcrumb-item *ngFor="let breadcrumb of breadcrumbs">
    <a [attr.href]="breadcrumb.url" (click)="navigate(breadcrumb.url, $event)">{{ breadcrumb.label }}</a>
  </nz-breadcrumb-item>
</nz-breadcrumb>
<ng-template #breadcrumbIconTemplate><i nz-icon type="right"></i></ng-template>
